//@ts-ignore
import getApiData, { getNestApiData } from "@/services/cpasRequest";

export async function getSqlApiList(api:string,params: any) {
    try {
      const res = await getApiData(api, params);
      return res;
    } catch (error) {
      return Promise.resolve({ data: error, ok: false, code: 100000 });
    }
  }